package com.coldchain.message.core.entity;

import java.io.Serializable;

/**
 * 车辆地理位置更新
 */
public class LocationMsg implements Serializable {
    /**
     * 车辆id
     */
    private  String carId;
    /**
     * 经度
     */
    private  String longitude;
    /**
     * 纬度
     */
    private  String latitude;

    private  Long time;


    public LocationMsg() {

    }

    public LocationMsg(String carId, String longitude, String latitude) {
        this.carId = carId;
        this.longitude = longitude;
        this.latitude = latitude;
    }

    public void setCarId(String carId) {
        this.carId = carId;
    }

    public void setLongitude(String longitude) {
        this.longitude = longitude;
    }

    public void setLatitude(String latitude) {
        this.latitude = latitude;
    }

    public String getCarId() {
        return carId;
    }

    public String getLongitude() {
        return longitude;
    }

    public String getLatitude() {
        return latitude;
    }

    public Long getTime() {
        return time;
    }
}
